package co.fitstart.entity.reference;

/**
 * 
 * @author Leo
 */
public enum Level {

    CITY("city", "市"),

    DISTRICT("district", "区");

    private String description;
    
    private String alias;

    /**
     * 
     * @param description
     */
    Level(String description, String ailas) {
        this.description = description;
        this.alias = ailas;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }
    
    /**
     * @return the alias
     */
    public String getAlias() {
        return alias;
    }
    
    /*
     * (non-Javadoc)
     * @see java.lang.Enum#toString()
     */
    @Override
    public String toString() {
        return alias;
    }

}
